<?php

namespace app\model;
use think\Model;

class OrderAssignment extends Model
{
    protected $connection = 'order';
    public function staff()
    {
        return $this->hasMany(Staff::class,'shop_name','shop_name');
    }
}